const { Controller } = require('egg');

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    let message = await ctx.service.user.index()
    ctx.body = {
      message:message
    };
  }
}

module.exports = HomeController;
